package com.settlement.system.service;

import com.settlement.system.model.entity.SysPayOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysPayOrderQuery;
import com.settlement.system.model.form.SysPayOrderForm;
import com.settlement.system.model.vo.SysPayOrderImportVo;
import java.util.List;

/**
 * <p>
 * 用户订单表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-12-30
 */
public interface SysPayOrderService extends IService<SysPayOrder> {

    Page<SysPayOrder> getPage(SysPayOrderQuery queryParams);

    boolean saveSysPayOrder(SysPayOrderForm sysPayOrderForm);

    SysPayOrder saveSysPayOrder(SysPayOrder sysPayOrder);

    boolean checkOrderFinish(String orderNo);

    SysPayOrderForm getSysPayOrderFormData(Long id);

    boolean deleteSysPayOrder(String ids);

    void importData(List<SysPayOrderImportVo> importVos);

    List<SysPayOrderImportVo> findByIds(String idsStr);

    boolean paySuccess(String outTradeNo, String payNo, String time);
}
